<?php $this->_extends('../_layouts/default_layout'); ?>
<?php $this->_block('contents'); ?>
<script type="text/javascript" src="<?=Q::ini('custom_system/base_url');?>js/validator.js"></script>
<form action="<?=url('Purchase::Product/MultiuCreateProductWarehouseSave');?>" method="post" onSubmit="return Validator.Validate(this,3)">
	<table class="form_table">
		<tr>
			<th>产品编号</th>
			<td><textarea name="product_number" cols="20" rows="4"></textarea></td>
		</tr>
		<tr><th></th><td>说明：多个产品编号用回车分开</td></tr>
		<tr>
			<th>选择仓库</th>
			<td>
				<select name="select_warehouse" dataType="Require" msg="请选择仓库">
					<option value="">请选择..</option>
					<? foreach ($warehouse as $w): ?>
					<option value="<?=$w['id'] ?>" ><?=$w['name']?></option>
					<? endforeach;?>
				</select>
			</td>
		</tr>
		<tr>
			<th></th>
			<td><input type="submit" class="button" value="生成列表" /><input type="hidden" name="<?=Q::ini('unique_token_name');?>" value="<?=Helper_BSS_Normal::genToken();?>"/></td>
		</tr>
	</table>
</form>
<?php $this->_endblock(); ?>